import request from "@/router/axios";

export const getClubList = (params) => {
  return request({
    url: "/admin/club/index",
    method: "post",
    data: params,
  });
};

export const getClubItemDetails = (row) => {
  return request({
    url: "/admin/club/detail",
    method: "post",
    data: row,
  });
};

export const addClubItem = (row) => {
  return request({
    url: "/admin/user/regInformation/add",
    method: "post",
    data: row,
  });
};
export const updateClubItem = (row) => {
  return request({
    url: "/admin/club/edit",
    method: "post",
    data: row,
  });
};
export const delClubItem = (row) => {
  return request({
    url: "/admin/club/delete",
    method: "post",
    data: row,
  });
};
